home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 1 / PC World Interactive 1 - Nisan 1997.iso / nostalji / bbs / dos / dasm.arj / ERDOGAN / DASM / README < prev   
Encoding:
Text File  |  1993-04-26  |  3.1 KB  |  95 lines

  1. Thanks very much for your willingness to beta test our EXEC-2-C program.
  2. Please run it as much as you like and send your comments me to either
  3. by mailing or FAXing me the enclosed questionnaire or by simply sending
  4. me e-mail at guthery@acw.com.
  5.  
  6. This program is copyright 1991 by The Austin Code Works and Polyglot
  7. International.  Please do not redistribute it.
  8.  
  9.                     Thanks again, Scott Guthery
  10.                               guthery@acw.com
  11.  
  12. Introduction 
  13. ------------ 
  14.  
  15. The EXEC-2-C is the disassembling package which can translate the .ASM file
  16. it produces into pseudo-C language.  EXEC-2-C consists of the following parts
  17. (each of them is an .EXE file & can be run by itself):
  18.  
  19.         - E2A.EXE       - disassembler
  20.         - A2APARSE.EXE  - assembler-to-C front end processor
  21.         - E2C.EXE       - translates the files prepared by A2A.EXE to pseudo-C
  22.         - ENVMNU.EXE    - integrated environment for the previous programs
  23.  
  24. The easiest way to get going is to run ENVMNU and follow the instructions.
  25. If you want to experiment with the options, run the programs individually
  26. from the MS-DOS command line.
  27.  
  28.                         Usage of e2a, a2aparse, & e2c
  29.             -----------------------------
  30.  
  31. [path] e2a [-p#] [-l#] [-r#] [-s#] [-h hdr] [-t] [-a] [-e] [-o out_file] file
  32. -----------------------------------------------------------------------------
  33.  
  34. Parameters for e2a:
  35.  
  36.     -p# ...........    Number of passes (e.g. -p5)
  37.             minimum: MINPASSES (params.h)
  38.             default: DEFPASSES (params.h)
  39.     -l# ........... Number of labels (e.g. -l500)
  40.             maximum: MAXLABELS (params.h)
  41.             default: DEFLABELS (params.h)
  42.     -r# ........... Number of procedures (e.g. -p500)
  43.             maximum: MAXPROCS (params.h)
  44.             default: DEFPROCS (params.h)
  45.     -s# ........... Number of segments (e.g. -p500)
  46.             maximum: MAXSEGMENTS (params.h)
  47.             default: DEFSEGMENTS (params.h)
  48.     -h hdr ........ Header (e.g. -o "header 1")
  49.     -t ............    Output format = .Lst
  50.     -a ............    Output format = .Asm
  51.             default output format: .Asm
  52.     -e ............    With interface
  53.             default: With interface
  54.     -o out_file ...    Output file-name (e.g. -o file-name)
  55.     file .......... Input file name (e.g. .exe or .com file)
  56.  
  57.  
  58. [path] a2aparse file ,[out_file]
  59. --------------------------------
  60.  
  61. Parameters for a2aparse:
  62.  
  63.     file ..........    name of input "assembler" file
  64.             ( = output file from e2a: <file>.asm)
  65.  
  66.     out_file ......    first name of output files
  67.             default: <file>
  68.  
  69.             <out_file>.cod  -  |\
  70.             <out_file>.r    -  | > output files
  71.             <out_file>.glb  -  |/
  72.  
  73.  
  74. [path] e2c [-p] [-e] [-d] [-?] [-a] file [out_file]
  75. ---------------------------------------------------
  76.  
  77. Parameters for e2c:
  78.  
  79.     -p ............    Include paging
  80.             default: NO paging
  81.     -e ............ With interface
  82.             default: without interface
  83.     -d ............ Delete A2Aparse results
  84.             default: NO delete
  85.     -? ............ Print tracing information (contents of registers)
  86.             default: NO print
  87.     -a ............ Process function call args
  88.             default: NO process
  89.     file ..........    First name of input files (output files from a2aparse):
  90.             <file>.cod
  91.             <file>.r
  92.             <file>.glb
  93.     out_file ......    First name of output file
  94.             default: <file>.r
  95.